[INFO] cloning repository https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerissaCodeCat%2FrustProgrammingCourseasynChat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerissaCodeCat%2FrustProgrammingCourseasynChat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ceadba2e4645f7b033286a713ea24882aff04c4
[INFO] fixing SerissaCodeCat/rustProgrammingCourseasynChat against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerissaCodeCat%2FrustProgrammingCourseasynChat" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat
[INFO] finished tweaking git repo https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat
[INFO] tweaked toml for git repo https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SerissaCodeCat/rustProgrammingCourseasynChat already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded value-bag v1.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e
[INFO] running `Command { std: "docker" "start" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking piper v0.2.5
[INFO] [stderr]     Checking value-bag v1.12.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     leaving.write_all(json.as_bytes()).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = leaving.write_all(json.as_bytes()).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     leaving.write_all(json.as_bytes()).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = leaving.write_all(json.as_bytes()).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> src/bin/server/chats_map.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ChatTracker {
[INFO] [stdout]    |                  - item list starts here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     };
[INFO] [stdout]    |      ^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      non-item starts here
[INFO] [stdout]    |      help: consider removing this semicolon
[INFO] [stdout] ...
[INFO] [stdout] 17 | }
[INFO] [stdout]    | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::io::BufRead`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::RemAssign`
[INFO] [stdout]  --> src/bin/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::RemAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::sync::broardcast`
[INFO] [stdout]  --> src/bin/server/chats.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::broardcast::*;
[INFO] [stdout]   |                  ^^^^^^^^^^ could not find `broardcast` in `sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::Hashmap`
[INFO] [stdout]  --> src/bin/server/chats_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::Hashmap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       no `Hashmap` in `collections`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std::collections::Hashmap;
[INFO] [stdout] 1 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `connections::handle`
[INFO] [stdout]   --> src/bin/server/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use connections::handle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  no `handle` in `connections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::connection`
[INFO] [stdout]  --> src/bin/server/chats.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::connection::Leaving;
[INFO] [stdout]   |            ^^^^^^^^^^ could not find `connection` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Chat`
[INFO] [stdout]  --> src/bin/server/chats.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Chat::Server;
[INFO] [stdout]   |     ^^^^ use of undeclared type `Chat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::io::BufRead`
[INFO] [stdout]  --> src/bin/server/connections.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chats_map::ChatTracker`
[INFO] [stdout]   --> src/bin/server/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::chats_map::ChatTracker;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::io::BufRead`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::RemAssign`
[INFO] [stdout]  --> src/bin/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::RemAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `async_std::net::TcpStream`
[INFO] [stdout]   --> src/bin/server/connections.rs:27:52
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let leaving = Arc::new(Leaving::new(socket.clone));
[INFO] [stdout]    |                                                    ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let leaving = Arc::new(Leaving::new(socket.clone()));
[INFO] [stdout]    |                                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> src/bin/server/chats_map.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ChatTracker {
[INFO] [stdout]    |                  - item list starts here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     };
[INFO] [stdout]    |      ^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      non-item starts here
[INFO] [stdout]    |      help: consider removing this semicolon
[INFO] [stdout] ...
[INFO] [stdout] 17 | }
[INFO] [stdout]    | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find_or_new` found for struct `Arc<ChatTracker>` in the current scope
[INFO] [stdout]   --> src/bin/server/connections.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     let chat = chats.find_or_new(chat_name);
[INFO] [stdout]    |                                      ^^^^^^^^^^^ method not found in `Arc<ChatTracker>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/bin/server/connections.rs:42:54
[INFO] [stdout]    |
[INFO] [stdout] 35 |               let result = match request {
[INFO] [stdout]    |                            ------------- `match` arms have incompatible types
[INFO] [stdout] ...
[INFO] [stdout] 40 |                       Ok(());
[INFO] [stdout]    |                       ------- this is found to be of type `()`
[INFO] [stdout] 41 |                   },
[INFO] [stdout] 42 |                   Client::Post {chat_name, message} => match chats.find(&chat_name){
[INFO] [stdout]    |  ______________________________________________________^
[INFO] [stdout] 43 | |                     Some(chat)=>{
[INFO] [stdout] 44 | |                         chat.post(message);
[INFO] [stdout] 45 | |                         Ok(())
[INFO] [stdout] 46 | |                     }
[INFO] [stdout] 47 | |                     None => Err(format!("Chat does not exist: {}", chat_name)),
[INFO] [stdout] 48 | |                 },
[INFO] [stdout]    | |_________________^ expected `()`, found `Result<(), String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), String>`
[INFO] [stdout] help: consider removing this semicolon
[INFO] [stdout]    |
[INFO] [stdout] 40 -                     Ok(());
[INFO] [stdout] 40 +                     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] help: use the `?` operator to extract the `Result<(), String>` value, propagating a `Result::Err` value to the caller
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 }?,
[INFO] [stdout]    |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/server/chats_map.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new()-> ChatTracker {
[INFO] [stdout]   |            ---     ^^^^^^^^^^^ expected `ChatTracker`, found `()`
[INFO] [stdout]   |            |
[INFO] [stdout]   |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 9 |         ChatTracker(Mutex::new(Hashmap::new()));
[INFO] [stdout]   |                                                - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::sync::broardcast`
[INFO] [stdout]  --> src/bin/server/chats.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::broardcast::*;
[INFO] [stdout]   |                  ^^^^^^^^^^ could not find `broardcast` in `sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::Hashmap`
[INFO] [stdout]  --> src/bin/server/chats_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::Hashmap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       no `Hashmap` in `collections`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std::collections::Hashmap;
[INFO] [stdout] 1 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `connections::handle`
[INFO] [stdout]   --> src/bin/server/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use connections::handle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  no `handle` in `connections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat` (bin "server" test) due to 10 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0432]: unresolved import `crate::connection`
[INFO] [stdout]  --> src/bin/server/chats.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::connection::Leaving;
[INFO] [stdout]   |            ^^^^^^^^^^ could not find `connection` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `Chat`
[INFO] [stdout]  --> src/bin/server/chats.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Chat::Server;
[INFO] [stdout]   |     ^^^^ use of undeclared type `Chat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::io::BufRead`
[INFO] [stdout]  --> src/bin/server/connections.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chats_map::ChatTracker`
[INFO] [stdout]   --> src/bin/server/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::chats_map::ChatTracker;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `async_std::net::TcpStream`
[INFO] [stdout]   --> src/bin/server/connections.rs:27:52
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let leaving = Arc::new(Leaving::new(socket.clone));
[INFO] [stdout]    |                                                    ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let leaving = Arc::new(Leaving::new(socket.clone()));
[INFO] [stdout]    |                                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find_or_new` found for struct `Arc<ChatTracker>` in the current scope
[INFO] [stdout]   --> src/bin/server/connections.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     let chat = chats.find_or_new(chat_name);
[INFO] [stdout]    |                                      ^^^^^^^^^^^ method not found in `Arc<ChatTracker>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/bin/server/connections.rs:42:54
[INFO] [stdout]    |
[INFO] [stdout] 35 |               let result = match request {
[INFO] [stdout]    |                            ------------- `match` arms have incompatible types
[INFO] [stdout] ...
[INFO] [stdout] 40 |                       Ok(());
[INFO] [stdout]    |                       ------- this is found to be of type `()`
[INFO] [stdout] 41 |                   },
[INFO] [stdout] 42 |                   Client::Post {chat_name, message} => match chats.find(&chat_name){
[INFO] [stdout]    |  ______________________________________________________^
[INFO] [stdout] 43 | |                     Some(chat)=>{
[INFO] [stdout] 44 | |                         chat.post(message);
[INFO] [stdout] 45 | |                         Ok(())
[INFO] [stdout] 46 | |                     }
[INFO] [stdout] 47 | |                     None => Err(format!("Chat does not exist: {}", chat_name)),
[INFO] [stdout] 48 | |                 },
[INFO] [stdout]    | |_________________^ expected `()`, found `Result<(), String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), String>`
[INFO] [stdout] help: consider removing this semicolon
[INFO] [stdout]    |
[INFO] [stdout] 40 -                     Ok(());
[INFO] [stdout] 40 +                     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] help: use the `?` operator to extract the `Result<(), String>` value, propagating a `Result::Err` value to the caller
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 }?,
[INFO] [stdout]    |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/bin/server/chats_map.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new()-> ChatTracker {
[INFO] [stdout]   |            ---     ^^^^^^^^^^^ expected `ChatTracker`, found `()`
[INFO] [stdout]   |            |
[INFO] [stdout]   |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 9 |         ChatTracker(Mutex::new(Hashmap::new()));
[INFO] [stdout]   |                                                - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat` (bin "server") due to 10 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e", kill_on_drop: false }`
[INFO] [stdout] fc0228c5f29889018cd120a1389b7518f72718f559ba7b586d9be740cbc6ef1e
